package com.constant;

/**
 * @Author: chihaojie
 * @Date: 2019/6/22 9:36
 * @Version 1.0
 * @Note
 */
public enum BussinessResultCodeEnum {

    PARAM_NOT_NULL(10001,"参数为空"),
    PARAM_NOT_COMPLETE(10002,"参数不完整"),
    NO_SUCH_ORDER(20001,"当前订单不存在"),
    TROUBLE_DESC_NOT_NULL(30001,"故障描述不能为空"),
    NOT_RECHARGE_DEPOSIT(40001,"请充值押金！！！"),
    EXISTS_NOT_GIVE_BACK_ORDER(40002,"当前尚有未归还的订单，请完成归还后再操作！！！"),
    ALREADY_BACK_UNPAID(40003,"商品已归还，待支付"),
    NOT_PUT_BACK_NOT_ALLOW_PAY(40004,"商品尚未归还，不能支付"),

    CUSTOMER_ACCOUNT_IS_FORBIDDEN(50001,"账号已被禁用，请解禁后再操作！"),

    SYS_USER_PAW_ERROR(50002,"用户名或密码错误"),

    AGENT_ALIPAY_ACCOUNT_CANNOT_NULL(60001,"代理商支付宝信息不能为空！"),
    AGENT_ACCOUNT_NOT_EXIST(60002,"代理商账户不存在！"),
    AGENT_ACCOUNT_BALANCE_INSUFFICIENT(60002,"代理商账户余额不足！"),
    NO_COMPETENCE(70002,"无操作权限")
    ;

    public  Integer  resultCode;

    public String  resultMsg;

    BussinessResultCodeEnum(Integer resultCode, String resultMsg) {
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }


}
